/*
 * 个人信息组件样式文件 - Personal Info Component Styles
 * 定义个人信息展示的布局、卡片样式、响应式设计等
 */

.personalInfo {
  position: fixed;
  left: 20px;
  top: 120px; 
  width: 280px;
  z-index: 100;
  
  .card {
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-color);
    
    .ant-card-body {
      padding: 20px;
    }
  }
  
  .header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    
    .avatar {
      border: 3px solid #ffb6c1;
      margin-right: 16px;
    }
    
    .info {
      flex: 1;
      
      .name {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: bold;
        color: var(--text-primary);
      }
      
      .title {
        margin: 0 0 4px;
        font-size: 14px;
        color: var(--text-secondary);
      }
      
      .description {
        margin: 0;
        font-size: 12px;
        color: var(--text-secondary);
      }
    }
  }
  
  .stats {
    display: flex;
    justify-content: space-around;
    margin: 16px 0;
    
    .statItem {
      text-align: center;
      
      .statNumber {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 4px;
      }
      
      .statLabel {
        font-size: 12px;
        color: var(--text-secondary);
      }
    }
  }
  
  .social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    
    .socialBtn {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 8px 12px;
      border-radius: 8px;
      color: #d63384;
      transition: all 0.3s ease;
      
      &:hover {
        background: rgba(255, 182, 193, 10%);
        color: #d63384;
      }
      
      .anticon {
        margin-right: 8px;
      }
    }
  }
  
  .notice {
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 10%), rgba(255, 192, 203, 10%));
    border-radius: 8px;
    border: 1px solid rgba(255, 182, 193, 20%);
    
    p {
      margin: 0;
      font-size: 12px;
      color: #666;
      text-align: center;
    }
  }
}

// 响应式设计
@media (max-width: 1200px) {
  .personalInfo {
    display: none;
  }
}